package com.cn.front.feign.fallBack;

import com.cn.common.pojo.ResultModel;
import com.cn.front.feign.TopAndFootFeign;
import org.springframework.stereotype.Component;

@Component
public class TopAndFootFallBack implements TopAndFootFeign {
    @Override
    public ResultModel top() {
        return ResultModel.Data(top());
    }

    @Override
    public ResultModel company() {
        return ResultModel.Data(company());
    }
}
